import { pubRequire } from '@utils/public'
const baseUrl = '/active-analysis'

/*图表 */
export function getChartsList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}/charts`, obj, callbBack, errBack)
}
/*table */
export function getTable(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}/tables`, obj, callbBack, errBack)
}

//图表-导出
export function exportTable1() {
  return `${baseUrl}/tables/export`
}
//图表-导出
export function exportTable2() {
  return `${baseUrl}/tables/export2`
}
/*明细 */
export function getDetailsList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}/level-details`, obj, callbBack, errBack)
}
//明细-导出
export function exportDetails() {
  return `${baseUrl}/level-details/export`
}
